package cn.hpu.service.impl;

import java.util.List;

import cn.hpu.dao.CustomerGradeDAO;
import cn.hpu.po.CustomerGrade;
import cn.hpu.service.CustomerGradeService;

public class CustomerGradeServiceImpl implements CustomerGradeService {
	
	private CustomerGradeDAO gradeDAO;

	public List<CustomerGrade> loadCustomerGrades() {
		return gradeDAO.getCustomerGrades();
	}

	public void update(CustomerGrade grade) {
		gradeDAO.update(grade);
	}

	public CustomerGradeDAO getGradeDAO() {
		return gradeDAO;
	}

	public void setGradeDAO(CustomerGradeDAO gradeDAO) {
		this.gradeDAO = gradeDAO;
	}
}
